package com.healthcloud.service;

import java.util.ArrayList;
import java.util.HashMap;

import com.healthcloud.entity.PastHistory;

/**
 * Created by XYC on 2015/7/16.
 */
public interface PastHistoryService {
    ArrayList<PastHistory> findByIdCard(PastHistory pastHistory);
    ArrayList<PastHistory> findByEntity(PastHistory pastHistory);
    Boolean saveList(ArrayList<PastHistory> pastHistories);
    Boolean saveOrUpdata(PastHistory pastHistory ,String pastMethod , Boolean operate);
    Boolean deleByEntity(PastHistory pastHistory);
    Boolean deletByIdCard(PastHistory pastHistory);
    Boolean deleById(String idData);
    ArrayList<PastHistory> findByIdCardWithMethod(PastHistory pastHistory,String pastMethod);
    void listDataTimeShow(ArrayList<PastHistory> pastHistories);
//     void listAddDateTime(ArrayList<PastHistory> pastHistories);
    void fillInAttribute( HashMap<String,HashMap> map,ArrayList<PastHistory> pastHistories);
}
